package com.woniu.cq.medical.dao.mymapper;

import com.woniu.cq.medical.dao.ProjectTypeMapper;
import com.woniu.cq.medical.entity.ProjectType;
import org.apache.ibatis.annotations.Select;
import org.springframework.context.annotation.Primary;

import java.util.List;

/**
 * @Author: Klaus
 * @Date: 2020/9/8 15:47
 */
@Primary
public interface My_ProjectTypeMapper extends ProjectTypeMapper {

    /**
     * 查询所有的一级检查类别
     * 返回值为所有的一级检查类别集合
     * @return
     */
    @Select("select project_type_id,project_name from lonbon_project_type")
    List<ProjectType> selectProjectTypes();
}
